package com.eduction.service;

import java.sql.SQLException;
import java.util.List;

import com.eduction.modules.system.entity.CourseRecord;

public interface CourseRecordServie {

	
	/**
	 * 保存表格
	 */
	public void saveCourseRecord(CourseRecord c);
	/**
	 * 查看某个表格信息(没有专家id)
	 */
	public CourseRecord queryCourseRecordById(String id,String sid) throws SQLException;
	/**
	 * 查看某个表格信息
	 */
	public CourseRecord queryCourseRecordById(String id,String sid,String eid) throws SQLException;
	
	/**
	 * 查询这个专家创建的所有表格信息
	 */
	public List<CourseRecord> queryCRsByExpert(String expertId) throws SQLException;

	/**
	 * 根据主键id查询表格
	 */
	CourseRecord queryCRsById(String id) throws SQLException;

	/**
	 * 删除随堂听课笔记
	 * @param sign
	 * @param schoolId
	 * @param expertId
	 */
	void deleteCourseRecordMapState(String sign, String schoolId, String expertId) throws SQLException;
}
